<%--
  Created by IntelliJ IDEA.
  User: konjac
  Date: 2022/4/22
  Time: 10:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <meta http-equiv="refresh" content="5; url=../index.html">

</head>
<body>
<%
    String str1 = request.getParameter("test06Input");
    if(str1.length()==0) {
        out.println("输入内容不能为空!"+"<br>");
    } else {
        if(str1.length()!=5){
            out.println("输入有误, 请输入5个字符!"+"<br>");
        }
        else {
            out.println("Good job!"+"<br>");
        }
    }
    out.println("<h1>5秒后将自动返回首页...</h1>");
%>
</body>
</html>
